package com.ykht.proj.coupon.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ykht.proj.coupon.entity.CnCoupon;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;


@Data
@ApiModel(value = "优惠券领取")
public class CnCouponReceiveVo {
	@ApiModelProperty(value="0可领取1不可领取")
	private Integer useFlag;

	@ApiModelProperty(value="")
	private Long id;
	@ApiModelProperty(value="公司Id")
	private Long companyId;

	@ApiModelProperty(value="品牌Id")
	private Long brandId;
	@ApiModelProperty(value="优惠券名称")
	private String name;
	@ApiModelProperty(value="优惠券类型0无门槛1满减")
	private Integer couponType;
	@ApiModelProperty(value="0领取后N天内有效1时间段")
	private Integer dateType;
	@ApiModelProperty(value="0通用券1多门店2单门店")
	private Integer type;
	@ApiModelProperty(value="最低消费金额")
	private Integer lowMoney;
	@ApiModelProperty(value="减免金额")
	private Integer reductionMoney;
	@ApiModelProperty(value="优惠券生效时间")
	private LocalDate effectiveeStaTime;
	@ApiModelProperty(value="优惠券结束时间")
	private LocalDate effectiveeEndTime;
	@ApiModelProperty(value="有效天数")
	private Integer effectiveeDay;
	@ApiModelProperty(value="发放数量")
	private Integer grantCount;

	@ApiModelProperty(value="使用规则")
	private String usageRules;
	@ApiModelProperty(value="0上架1下架")
	private Integer status;
	@ApiModelProperty(value="创建时间")
	private LocalDateTime createTime;
}
